﻿@model List<Admin>

@{
    ViewData["Title"] = "Details";
}

<h1>Details</h1>

<div>
    <form action="@Url.Action("Details")" method ="post">
        <div>
            <ol>
                id pwd
            </ol>
            @for (var i=0;i<@Model.Count();i++)
            {
                <ol>
                    <li>
                        @Model[i].Aid @Model[i].Apwd
                    </li>
                </ol>
            }
            
        </div>
    </form>
</div>
<div>
    <a asp-action="Edit" asp-route-id="@Model">Edit</a> |
    <a asp-action="Index">Back to List</a>
</div>
